function init_global5

% initialize values for global variables

global NUMBER_OF_EVENTS LENGTH BIG TNOW MAINT_COST REPAIR_COST SALES_REVENUE EXP_RATE 
global SHAPE1 SCALE1 SHAPE2 SCALE2 A3 B3 B U L MU STATES_MAX NET_ITERMAX ISTAR THRESHOLD
% types of events 1=termination; 2=produce;3=repair; 4=maintenance 
ISTAR=1;

global ENCODER_UL_PC % upper limit for encoder for likely value of production count in neuron
global EMP_DIST

EMP_DIST=[0.0008,0.0032,0.0072,0.0128,0.0200,0.0288,0.0392,0.0512,0.0648,0.0800,0.0968,0.1152,0.1352,...    
 0.1568,0.1880];

ENCODER_UL_PC=20;

NET_ITERMAX=2;
NUMBER_OF_EVENTS = 4; 

LENGTH=150000;

BIG=10000001; % has to be bigger than LENGTH 

STATES_MAX=30;

TNOW=0;

% Following are parameters of the uniform distribution for maintenance time

U=1;

L=2;





% Following parameters from unif distribution for repair time

A3=3;

B3=4;





MAINT_COST=20; % cost of one maintenance in dollars

REPAIR_COST=90; % cost of one repair in dollars

SALES_REVENUE=200;

EXP_RATE=0.2;


